Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 2 - Shape Objects / About Shape Objects


Default Shapes

When you first create a shape of a given shape type, QuickDraw GX provides an initial value for each property; those initial values define the starting characteristics of the shape. The shape QuickDraw GX creates is a copy of the default shape for that shape type (such as a line, rectangle, or glyph). There is one default shape for each shape type. These are the default properties:

After creating the shape, you can change its characteristics to customize it; for example, you can give it a specific geometry. Or, if you want to create several shapes with the same customized characteristics, you can change the default shape itself to suit your purposes. If you do this, each shape that you create thereafter has the customized characteristics. See the section "Getting and Setting the Default Shape Objects" beginning on page 2-23, and the section "Resetting a Shape Object's Properties to Their Default Values" beginning on page 2-31, for more information.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996